package com.dingreading.cloud.soms.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类。
 *
 * @author Administrator
 * @since 2023-11-22
 */
@Data
@Table(value = "ca_class")
public class CaClass implements Serializable {

    @Id(keyType = KeyType.Auto)
    private Long id;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(onInsertValue = "now()")
    private Date addTime;

    /**
     * 更新时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(onInsertValue = "now()", onUpdateValue = "now()")
    private Date editTime;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date closeTime;

    /**
     * 公司uid
     */
    @ApiModelProperty(value = "公司uid")
    private String corpUid;

    /**
     * 门店uid
     */
    @ApiModelProperty(value = "门店uid")
    private String storeUid;

    /**
     * 门店名称
     */
    @ApiModelProperty(value = "门店名称")
    private String storeName;

    /**
     * 社团名称
     */
    @ApiModelProperty(value = "社团名称")
    private String className;

    /**
     * 服务名称
     */
    @ApiModelProperty(value = "服务名称")
    private String productName;

    /**
     * 服务uid
     */
    @ApiModelProperty(value = "服务uid")
    private String projectUid;

    /**
     * 服务阶段uid
     */
    @ApiModelProperty(value = "服务阶段uid")
    private String stageUid;

    /**
     * 服务项目阶段名称
     */
    @ApiModelProperty(value = "服务项目名称")
    private String stageName;

    /**
     * 活动室id
     */
    @ApiModelProperty(value = "活动室id")
    private Long roomId;

    /**
     * 活动室uid
     */
    @ApiModelProperty(value = "活动室uid")
    private String roomUid;

    /**
     * 活动室名称
     */
    @ApiModelProperty(value = "活动室名称")
    private String roomName;

    /**
     * 导读uid
     */
    @ApiModelProperty(value = "导读uid")
    private String teacherUid;

    /**
     * 导读名字
     */
    @ApiModelProperty(value = "导读名字")
    private String teacherName;

    /**
     * 会员数量
     */
    @ApiModelProperty(value = "会员数量")
    private Integer studentNum;

    /**
     * 排活动数
     */
    @ApiModelProperty(value = "排活动数")
    private Integer scheduleNum;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 收费状态 1.收费 0.免费
     */
    @ApiModelProperty(value = "收费状态 1.收费 0.免费")
    private Integer freeStatus;

    /**
     * 结业状态 1.未结业 0.已结业
     */
    @ApiModelProperty(value = "结业状态 1.未结业 0.已结业")
    private Integer closeStatus;

    /**
     * 是否禁用
     * 1.启用 0.禁用
     */
    @ApiModelProperty(value = "是否禁用 1.启用 0.禁用")
    private Integer enabled;

    /**
     * 创建人uid
     */
    @ApiModelProperty(value = "创建人uid")
    private String addStaffUid;

    /**
     * 创建人姓名
     */
    @ApiModelProperty(value = "创建人姓名")
    private String addStaffName;

    /**
     * 更新人uid
     */
    @ApiModelProperty(value = "更新人uid")
    private String lastStaffUid;

    /**
     * 更新人姓名
     */
    @ApiModelProperty(value = "更新人姓名")
    private String lastStaffName;

    /**
     * uid
     */
    @ApiModelProperty(value = "uid")
    private String uid;

}
